<template>
  <div class="Loadingtemp">
    <div class="Loading">
      <!--<div class="textLoadingoo">-->

      <!--</div>-->
      <div class="loadinggif">
        <p style="font-size: 1.2rem;width: 10rem;margin-left: -4rem;">蓝牙初始化中</p>
        <img src="../../../static/img/loading2.gif">
      </div>
    </div>
  </div>
</template>

<script>
  export default {
    name: 'LoadingInit',
    props: ['loadingText'],
    data () {
      return {
        msg: 'Welcome to Your Vue.js App'
      }
    },
    methods: {

    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  .Loading{
    height: 100%;
    position: fixed;
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0,0,0,0.4);
    text-align: center;
    z-index: 100000000;
  }
  .textLoadingoo{
    position: relative;
    /*left:5rem;*/
    left:50%;
    margin-left: -5rem;
    top:65%;
    margin-top:-1rem;
    width: 10rem;
  }
  .textLoadingoo >p{
    color: grey;
  }
  .loadinggif{
    position: fixed;
    /*left:5rem;*/
    left:50%;
    margin-left: -0.5rem;
    top:70%;
    margin-top:-0.5rem;
    width: 2rem;
  }

</style>
